/* ===========================
   BASE STYLES
=========================== */
body {
  background-color: rgb(16, 17, 26);
  color: #f0f0f0;
  font-family: monospace;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* prevent horizontal scroll */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.loaded {
  opacity: 1;
  transform: translateY(0);
}

header {
  text-align: center;
  margin-bottom: 20px;
  background-image: url("../../images/Images/BG1.png");
  background-size: cover;
  background-position: center;
  padding-bottom: 80px; /* bring images up */
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

nav {
  text-align: center;
  margin-bottom: 20px;
  background-color: rgb(45, 45, 66);
  width: 100%;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 30px;
  font-size: 30px;
  transition: color 0.3s ease, font-size 0.3s ease;
}

nav a:hover {
  color: #40c55d;
  font-size: 35px;
}

main {
  max-width: 800px;
  width: 90%;
  margin: auto;
}

section {
  margin-bottom: 30px;
}

section img, header img {
  display: block;
  margin: 10px auto;  /* center and add small top margin */
  max-width: 100%;
  height: auto;
}

/* dots in privacy policy list */
.big-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #40c55d;
  border-radius: 50%;
  margin: 0 10px;
}

footer {
  text-align: center;
  opacity: 0.6;
  font-size: 14px;
  background-color: rgb(82, 104, 104);
  padding-bottom: 10px;
  -webkit-mask-image: linear-gradient(to top, black 70%, transparent 100%);
  mask-image: linear-gradient(to top, black 70%, transparent 100%);
}
.support-me {
  text-align: center;
}

.support-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #29abe0;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.support-btn:hover {
  opacity: 0.85;
}
.End {
  margin-top: 50px;
  padding-top: 50px;
}

.Privacy-Policy {
  font-size: 15px;
  color: white;
  transition: color 0.2s ease, font-size 0.2s ease;
}

.Privacy-Policy:hover {
  font-size: 16px;
  color: black;
}

.Socials img {
  width: 30px;
  height: auto;
}

/* ===========================
   MOBILE RESPONSIVE
=========================== */
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  nav {
    padding-bottom: 50px;
  }
  nav a {
    margin: 0;
    font-size: 18px;
  }

  header img:first-of-type {
    max-width: 400px; /* shrink header title image */
  }

  header img:last-of-type {
    max-width: 250px; /* shrink header subimage */
  }

  section img {
    max-width: 100%;
    margin-top: 10px; /* closer to header */
    margin-bottom: 20px;
  }

  main {
    width: 95%;
  }

  section h2, section h3, section h1 {
    font-size: 16px; /* shrink text */
  }

  footer {
    font-size: 12px;
  }

  .Socials img {
    width: 25px;
  }
  .End img {
    width: 150px;
    height: auto;
  }

  .Privacy-Policy {
    font-size: 13px;
  }

  .Privacy-Policy:hover {
    font-size: 14px;
  }

  .Socials img {
    width: 25px;
  }
}

@media (max-width: 480px) {
  nav a {
    font-size: 16px;
  }

  header img:first-of-type {
    max-width: 300px;
  }

  header img:last-of-type {
    max-width: 200px;
  }

  section h2, section h3, section h1 {
    font-size: 14px;
  }

  footer {
    font-size: 11px;
  }

  .Socials img {
    width: 20px;
  }
}
